#include <iostream>
#include <string>
#include "MultiMedia.h"
#include "MultiMediaRegister.h"
using namespace std;

int main () {

	MultiMedia multi;
	MultiMedia multi1("Test", "Test", "Test", 1995, 200);
	MultiMediaRegister registry;

	//multi.ReadFromConsole();
	//multi.WriteToConsole();

	cin >> multi;
	registry.AddMedia(multi);
	registry.AddMedia(multi1);

	registry.SearchByTitle();


	system("PAUSE");
	return 0;
}